#!/bin/bash -ilex
version=$(grep 'version:' pubspec.yaml | sed -e 's/#.*//' -e 's/[[:space:]]*version:[[:space:]]*//' -e 's/[+"].*//' | tr -d "'\"")
echo $version